package com.moonlit.myspring;

/**
 * 杂技师
 */
public class Juggler implements  Performer{
  private int beanBags = 3;
  public Juggler(){

  }

  public Juggler(int beanBags){
    this.beanBags = beanBags;
  }

  public void perform() throws Exception {
    System.out.println("JUGGLING "+beanBags+" BEANBAGS");
  }
}
